home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-11-28 | 9.6 KB | 435 lines | [TEXT/CWIE] |
- /*
- Copyright © 1993-1995 by Fabrizio Oddone
- ••• ••• ••• ••• ••• ••• ••• ••• ••• •••
- This source code is distributed as freeware: you can copy, exchange, modify this
- code as you wish. You may include this code in any kind of application: freeware,
- shareware, or commercial, provided that full credits are given.
- You may not sell or distribute this code for profit.
- */
- #include "FabLibResIDs.h"
-
- #define NumTextLines 2
-
- resource 'ALRT' (kALRT_GENERICERROR, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_GENERICERROR,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound2,
- /* [2] */
- OK, visible, sound2,
- /* [3] */
- OK, visible, sound2,
- /* [4] */
- OK, visible, sound2
- },
- alertPositionMainScreen
- };
-
- resource 'DITL' (kALRT_GENERICERROR, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "An error ^0 has occurred; I hope you have a list of "
- "error codes."
- }
- }
- };
-
- #define NumTextLines 2
-
- resource 'ALRT' (kALRT_OLDSYSTEM, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_OLDSYSTEM,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- alertPositionMainScreen
- };
-
- resource 'DITL' (kALRT_OLDSYSTEM, purgeable) {
- { /* array DITLarray: 3 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "Quit"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "Sorry, this application needs System 7.0 or later."
- }
- }
- };
-
- #define NumTextLines 3
-
- resource 'ALRT' (kALRT_AEPROCESSERR, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_AEPROCESSERR,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound2,
- /* [2] */
- OK, visible, sound2,
- /* [3] */
- OK, visible, sound2,
- /* [4] */
- OK, visible, sound2
- },
- alertPositionMainScreen
- };
-
- resource 'DITL' (kALRT_AEPROCESSERR, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "An error ^0 has occurred while processing an Apple Event; I "
- "hope you have a list of error codes."
- }
- }
- };
-
- #define NumTextLines 2
-
- resource 'ALRT' (kALRT_INITWINDSERROR, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_INITWINDSERROR,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound3,
- /* [2] */
- OK, visible, sound3,
- /* [3] */
- OK, visible, sound3,
- /* [4] */
- OK, visible, sound3
- },
- alertPositionMainScreen
- };
-
- resource 'DITL' (kALRT_INITWINDSERROR, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "Quit"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "Sorry, an error ^0 has occurred while initializing my windows."
- }
- }
- };
-
- #define NumTextLines 2
-
- resource 'ALRT' (kALRT_AEINSTALLEVTERR, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_AEINSTALLEVTERR,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound3,
- /* [2] */
- OK, visible, sound3,
- /* [3] */
- OK, visible, sound3,
- /* [4] */
- OK, visible, sound3
- },
- alertPositionMainScreen
- };
-
- resource 'DITL' (kALRT_AEINSTALLEVTERR, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "Quit"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "Sorry, an error ^0 has occurred while installing the Apple Event handlers."
- }
- }
- };
-
- #define NumTextLines 2
-
- resource 'ALRT' (kALRT_PLEASEDISMISSMOVABLEMODAL, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_PLEASEDISMISSMOVABLEMODAL,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, silent,
- /* [2] */
- OK, visible, silent,
- /* [3] */
- OK, visible, silent,
- /* [4] */
- OK, visible, silent
- },
- alertPositionParentWindowScreen
- };
-
- resource 'DITL' (kALRT_PLEASEDISMISSMOVABLEMODAL, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "Sorry, you cannot do this now. "
- "Please dismiss the dialog box first."
- }
- }
- };
-
- #define NumTextLines 4
-
- resource 'ALRT' (kALRT_DISMISSORDRAGANDDROP, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_DISMISSORDRAGANDDROP,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, silent,
- /* [2] */
- OK, visible, silent,
- /* [3] */
- OK, visible, silent,
- /* [4] */
- OK, visible, silent
- },
- alertPositionParentWindowScreen
- };
-
- resource 'DITL' (kALRT_DISMISSORDRAGANDDROP, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "Sorry, you cannot do this now. "
- "Please dismiss the dialog box first, "
- "or try dragging the item onto the frontmost window."
- }
- }
- };
-
- #define NumTextLines 4
-
- resource 'ALRT' (kALRT_INTERNETCONFIG, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_INTERNETCONFIG,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- alertPositionMainScreen
- };
-
- resource 'DITL' (kALRT_INTERNETCONFIG, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "There is a problem with InternetConfig (error ^0). "
- "Please make sure that InternetConfig 1.1 or later is properly installed."
- }
- }
- };
-
- #define NumTextLines 5
-
- resource 'ALRT' (kALRT_ICMISSINGHELPER, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_ICMISSINGHELPER,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, sound1,
- /* [2] */
- OK, visible, sound1,
- /* [3] */
- OK, visible, sound1,
- /* [4] */
- OK, visible, sound1
- },
- alertPositionMainScreen
- };
-
- resource 'DITL' (kALRT_ICMISSINGHELPER, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "OK"
- },
- /* [3] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "There is a problem with InternetConfig (1.1 or later is needed). "
- "You may want to launch the InternetConfig application, "
- "and check whether a helper application for this service is set."
- }
- }
- };
-
- #define NumTextLines 7
-
- resource 'ALRT' (kALRT_SEPARATEREGISTERAPP, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_SEPARATEREGISTERAPP,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, silent,
- /* [2] */
- OK, visible, silent,
- /* [3] */
- OK, visible, silent,
- /* [4] */
- OK, visible, silent
- },
- alertPositionMainScreen
- };
-
- resource 'DITL' (kALRT_SEPARATEREGISTERAPP, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "This software lets you fill a form, "
- "for payment directly to me; "
- "you may want to use the separate Register application, "
- "for payment through the Kagi Shareware system. "
- "If you found this application alone, "
- "instead of the complete package, complain."
- }
- }
- };
-
- #define NumTextLines 4
-
- resource 'ALRT' (kALRT_SHAREWAREREMINDER, purgeable) {
- {AlertTop, AlertLeft, AlertBottom, AlertRight},
- kALRT_SHAREWAREREMINDER,
- { /* array: 4 elements */
- /* [1] */
- OK, visible, silent,
- /* [2] */
- OK, visible, silent,
- /* [3] */
- OK, visible, silent,
- /* [4] */
- OK, visible, silent
- },
- alertPositionMainScreen
- };
-
- resource 'DITL' (kALRT_SHAREWAREREMINDER, purgeable) {
- { /* array DITLarray: 2 elements */
- /* [1] */
- {ButtonTop, ActionButtonLeft, ButtonBottom, ActionButtonRight},
- Button {
- enabled,
- "OK"
- },
- /* [2] */
- {TextTop, TextLeft, TextBottom, TextRight},
- StaticText {
- disabled,
- "This software is shareware, which means you can try it before you buy it. "
- "You used it ^0 times, so please remember to pay the fee."
- }
- }
- };
-
-
- resource 'STR#' (1200, purgeable) {
- {
- /* [1] bug report */
- "Copies a standard bug report form; "
- "paste it into a text document or into an e-mail message.",
- /* [2] e-mail */
- "Copies the author’s e-mail address; "
- "paste it into your favorite electronic mail application.",
- /* [3] WWW */
- "Copies the author’s World Wide Web Home Page address "
- "(in the Universal Resource Locator style). "
- "Use it with applications such as MacWeb, Mosaic, NetScape.",
- /* [4] e-mail IC */
- "Launches your e-mail application "
- "so that you can send a message to the author; "
- "this feature needs InternetConfig 1.1 or later.",
- /* [5] WWW IC */
- "Launches your World Wide Web browser "
- "so that the author’s page is automatically shown; "
- "this feature needs InternetConfig 1.1 or later, "
- "and an active Internet connection.",
- }
- };
-
-